﻿using System.ServiceModel;
using Common;

namespace ReviewerServiceLibrary
{
    [ServiceContract]
    interface IReviewerService
    {
        [OperationContract]
        Response GetFilteredArticles();
        [OperationContract]
        Response GetReviews(string authorID);
        [OperationContract]
        Response GetReviewDetails(string reviewID);
        [OperationContract]
        Response CreateReview(string articleID, string attachmentID, string authorID, int decision);
        [OperationContract]
        Response TakeArticleForReview(string articleID, string reviewerID);
        [OperationContract]
        Response GetArticlesForReview(string reviewerID);
    }
}